package com.day11.study.annotation_demo;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
public @interface DataBaseConfig {
    String url() default "jdbc:mysql://localhost/3306/homework1";

    String username() default "root";

    String password() default "12345678";
}
